package com.qiqv.service.impl;

import com.qiqv.config.PianoData;
import com.qiqv.dto.instrument.Piano;
import com.qiqv.service.InstrumentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hjr
 * @version 1.0
 * @date 2023/2/14 15:43
 */
@Service
public class InstrumentServiceImpl implements InstrumentService {
    
    @Autowired
    private PianoData instrumentData;
    
    @Override
    public Piano getPianoAudios() {
        Piano piano = new Piano();
        piano.setAudios(instrumentData.getPiano());
        return piano;
    }
}
